<?php
class Cdn extends Module {
    private $base_url;
    private $base_dir;

    public function set_opts($opts) {
        if (isset($opts['url'])) {
            $this->base_url = $opts['url'];
        }
        if (isset($opts['dir'])) {
            $this->base_dir = $opts['dir'];
        }
    }
    
    public function get_base_url() {
        return $this->base_url;
    }
}
?>